<div class="alert alert-danger">提示：如果系统设置详情页模板，商品也设置，则商品的优先级高于系统的。</div>

<div class="form-group">
    <label class="col-sm-2 control-label">自定义模板</label>
    <div class="col-sm-9 col-xs-12">
        <select class="form-control" name="diypage">
            <option value="">请选择商品详情页自定义模板</option>
            {loop $detailPages $detailPage}
                <option value="{$detailPage['id']}" {if $item['diypage']==$detailPage['id']}selected="selected"{/if}>{$detailPage['name']}</option>
            {/loop}
        </select>
    </div>
</div>